<!doctype html>
<html>

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <?php include_once MvcReg::$_moduleName . '/views/layout/head.php'; ?>
</head>

<body>
<?php include_once MvcReg::$_moduleName . '/views/layout/woody-prompt.php'; ?>
<?php include_once MvcReg::$_moduleName . '/views/layout/header.php'; ?>

<div id="main">
    <div class="container-fluid">
        <div class="row">
            <div class="col-md-2">
                <?php include_once MvcReg::$_moduleName . '/views/layout/left_menu.php'; ?>
            </div>
            <div class="col-md-10">
                <div class="right-content">
                    <style>
                        .bf {
                            font-size: 2em
                        }

                        .main_content .panel {
                            text-align: center
                        }

                        .main_content
                        .panel:hover .panel-body {
                            background: #f1f1f1
                        }

                        .main_content .panel .panel-footer {
                            color: #fff
                        }

                        .main_content
                        .panel .panel-footer a {
                            color: #fff
                        }

                        .main_content a .bf {
                            color: #E43D40
                        }

                        .main_content
                        .panel-info .panel-footer {
                            background: #39ABD2;
                        }

                        .main_content .panel-warning
                        .panel-footer {
                            background: #FFA600
                        }

                        .main_content .panel-danger .panel-footer {
                            background: #D9534F
                        }

                        .main_content .panel-success .panel-footer {
                            background: #328061
                        }
                    </style>
                    <h3>
        <span class="current">
            管理首页
        </span>
                    </h3>
                    <br>
                    <div class="main_content">
                        <div class="row">
                            <div class="col-md-4  col-sm-6 col-xs-6">
                                <a href="?md=shop&cl=shop&at=orders">
                                    <div class="panel panel-info">
                                        <div class="panel-body">
                                            <span class="bf"><?php echo $num['ordersCount0'];?></span>
                                        </div>
                                        <div class="panel-footer">
                                            未指派订单
                                        </div>
                                    </div>
                                </a>
                            </div>
                            <div class="col-md-4 col-sm-6 col-xs-6">
                                <a href="?md=shop&cl=shop&at=unpush">
                                    <div class="panel panel-info">
                                        <div class="panel-body">
                                            <span class="bf"><?php echo $num['ordersCount1'];?></span>
                                        </div>
                                        <div class="panel-footer">
                                            未推送订单
                                        </div>
                                    </div>
                                </a>
                            </div>
                            <div class="col-md-4 col-sm-6 col-xs-6">
                                <a href="?md=shop&cl=shop&at=storelist">
                                    <div class="panel panel-info">
                                        <div class="panel-body">
                                            <span class="bf"><?php echo $num['ordersCount2'];?></span>
                                        </div>
                                        <div class="panel-footer">
                                            待骑手接单
                                        </div>
                                    </div>
                                </a>
                            </div>

                        </div>


                        <div class="row">
                            <div class="col-md-4 col-sm-6 col-xs-6">
                                <a href="?md=shop&cl=shop&at=waitingpickup">
                                    <div class="panel panel-danger">
                                        <div class="panel-body">
                                            <span class="bf"><?php echo $num['ordersCount3'];?></span>
                                        </div>
                                        <div class="panel-footer">
                                            待取货订单
                                        </div>
                                    </div>
                                </a>
                            </div>
                            <div class="col-md-4 col-sm-6 col-xs-6">
                                <a href="?md=shop&cl=shop&at=delivery">
                                    <div class="panel panel-danger">
                                        <div class="panel-body">
                                            <span class="bf"><?php echo $num['ordersCount4'];?></span>
                                        </div>
                                        <div class="panel-footer">
                                            配送中订单
                                        </div>
                                    </div>
                                </a>
                            </div>
                            <div class="col-md-4 col-sm-6 col-xs-6">
                                <a href="?md=shop&cl=shop&at=delivery_finish">
                                    <div class="panel panel-danger">
                                        <div class="panel-body">
                                            <span class="bf"><?php echo $num['ordersCount5'];?></span>
                                        </div>
                                        <div class="panel-footer">
                                            配送完成
                                        </div>
                                    </div>
                                </a>
                            </div>
                        </div>



                        <div class="row">
                            <div class="col-md-4 col-sm-6 col-xs-6">
                                <a href="?md=shop&cl=shop&at=horselist">
                                    <div class="panel panel-info">
                                        <div class="panel-body">
                                            <span class="bf"><?php echo $num['ordersCount7'];?></span>
                                        </div>
                                        <div class="panel-footer">
                                            门店骑手
                                        </div>
                                    </div>
                                </a>
                            </div>

                            <div class="col-md-4 col-sm-6 col-xs-6">
                                <a href="?md=shop&cl=shop&at=errorlist">
                                    <div class="panel panel-danger">
                                        <div class="panel-body">
                                            <span class="bf"><?php echo $num['ordersCount6'];?></span>
                                        </div>
                                        <div class="panel-footer">
                                            异常订单
                                        </div>
                                    </div>
                                </a>
                            </div>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
</div>
<?php include_once MvcReg::$_moduleName . '/views/layout/footer.php'; ?>

</body>

</html>